package com.gt.app.service;

import com.gt.app.domain.EsLifeWayInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gt.app.domain.dto.EsLifeWayInfoDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author caidesheng
 * @since 2023-09-19
 */
public interface EsLifeWayInfoService extends IService<EsLifeWayInfo> {

    /**
     * 新增生活方式信息
     * @param esLifeWayInfoDto
     */
    EsLifeWayInfoDto add(EsLifeWayInfoDto esLifeWayInfoDto);

    /**
     * 根据checkId获取生活方式信息
     * @param checkId
     * @return
     */
    EsLifeWayInfoDto getLifeWayInfo(String checkId);
}
